.model-selector {
  position: relative;
  z-index: 10;
}

.model-selector-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.model-selector-button:hover {
  background: #252525;
  border-color: #555;
}

.model-selector-label {
  color: #888;
  font-size: 12px;
}

.model-selector-value {
  font-weight: 500;
}

.model-selector-arrow {
  margin-left: auto;
  transition: transform 0.2s;
  font-size: 10px;
}

.model-selector-arrow.open {
  transform: rotate(180deg);
}

.model-selector-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
}

.model-selector-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10;
  max-height: 300px;
  overflow-y: auto;
}

.model-selector-option {
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid #2a2a2a;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.model-selector-option:last-child {
  border-bottom: none;
}

.model-selector-option:hover {
  background: #252525;
}

.model-selector-option.selected {
  background: #2a2a2a;
}

.model-selector-option-name {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 4px;
}

.model-selector-option-desc {
  font-size: 12px;
  color: #888;
  margin-bottom: 2px;
}

.model-selector-option-provider {
  font-size: 11px;
  color: #666;
}

